package com.webapp.blog.web.model;

import java.util.Date;

/**
 * 博客模型
 * Created by jinglun on 2016/8/6.
 */
public class Blog {
    private Long id;
    private String title;
    private String content;
    private Long userId;
    private Date pubTime;
    public Blog() {

    }
    public Long getId(){
        return id;
    }
    public void setId(Long id){
        this.id = id;
    }

    public String getTitle(){
        return title;
    }
    public void setTitle(String title){
        this.title = title;
    }

    public String getContent(){
        return content;
    }
    public void setContent(String content){
        this.content = content;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getPubTime() {
        return pubTime;
    }

    public void setPubTime(Date pubTime) {
        this.pubTime = pubTime;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
